package testmodel;

public class OrderLine {
	private String id;
	private String article;
	private int amount;
	private double price;
	private Order order;

	public OrderLine() { }
	
	public OrderLine(String article, int amount, double price) {
		super();
		this.article = article;
		this.amount = amount;
		this.price = price;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getArticle() {
		return article;
	}

	public void setArticle(String article) {
		this.article = article;
	}

	public int getAmount() {
		return amount;
	}

	public void setAmount(int amount) {
		this.amount = amount;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public Order getOrder() {
		return order;
	}

	public void setOrder(Order order) {
		this.order = order;
	}

}
